package com.xiangban.yanglaodajie_platform.service;

import com.xiangban.yanglaodajie_platform.dao.ClassifyGoodsMapper;
import com.xiangban.yanglaodajie_platform.entity.ClassifyGoods;
import com.xiangban.yanglaodajie_platform.entity.res.ApiResultCode;
import com.xiangban.yanglaodajie_platform.exception.BizException;
import com.xiangban.yanglaodajie_platform.utils.CommonUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

import static com.xiangban.yanglaodajie_platform.utils.CommonUtils.BizEmpty;


/**
 * @Author Mr. MaYaYun
 * @Data 2021/4/19 16:51
 */
@Service
public class ClassifyGoodsService {

    @Autowired
    private ClassifyGoodsMapper classifyGoodsMapper;



//    public List<ClassifyGoods> getClassifyGoods(ClassifyGoods classifyGoods) {
//        if (BizEmpty(classifyGoods.getId())){
//            throw new BizException(ApiResultCode.PARAMETER_DEFICIENCY);
//        }
//        classifyGoodsMapper.selectList(classifyGoods);
//    }
}
